<?php

namespace Home\Model;

use Think\Model;

class SalestaffModel extends Model
{
    protected $_validate = array(
        array('ssa_name', '', '帐号已经存在！', 0, 'unique', 1),
        array('ssa_phone', '', '帐号已经存在！', 0, 'unique', 1),
    );
    protected $_auto = array(
        array("ssa_type", "23"),
        array("ssa_time", "time", '2', 'function')
    );
}
